package com.sky.controller.user;

import com.sky.common.result.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController("userShopController")
@RequestMapping("/user/shop")
public class ShopController {

    /**
     * 获取店铺状态
     * @return
     */
    @GetMapping("/status")
    public Result getStatus(){
        log.info("从redis中查询店铺的营业状态");
        return Result.success(1);
    }

}
